package com.zengqingfa.juc.n3;

/**
 * @author zengqingfa
 * @className TestFrames
 * @description
 * @create 2021/6/6 11:31
 */
public class TestFrames {

    public static void main(String[] args) {
        new Thread(() -> {
            m1(20);
        }, "t1").start();
        m1(2);
    }

    private static void m1(int x) {
        int y = x + 1;
        String s = m2(y);
        System.out.println(s);
    }


    private static String m2(int x) {
        String s = new String("11");
        return s;
    }
}